<template>
  <div :class="{ mbtn: true, actived: actived }">
    <slot />
  </div>
</template>

<script>
export default {
  name: 'MapButton',
  props: {
    actived: {
      type: Boolean,
      default: false
    }
  }
};
</script>

<style lang="less" scoped>
.mbtn {
  padding: 8px 12px;
  display: inline-block;
  vertical-align: middle;
  border: 1px solid #3C98FF;
  color: #fff;
  margin-right: 8px;
  cursor: pointer;
  &.actived {
    background-color: #3C98FF;
  }
}
</style>
